<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="./node_modules/vue/dist/vue.js"></script>

</head>
<body>
    <div id="app">
        <div>{{name}}</div>
        <!-- v-text 就是插值表达式 -->
        <div v-text="name"></div>
        <!-- v-html 等于innerhtml -->
        <div v-html="name + 'abc'"></div>
    </div>
    <script>
        var app = new Vue({
            el:'#app',
            data:{
                name:'<h1>nmb<h1>'
            }
        })
    </script>
</body>
</html>